<?php

use think\Env;

return [
    'discovery' => [
        'etcd_host' => Env::get("etcd_host"),
        'server_name' => Env::get("belong_system"),
        'server_uuid' => \Webpatser\Uuid\Uuid::generate()->string,
        'server_port' => Env::get("host_port"),
        'discovery_name' => [
            'teamones-saas',
            'teamones-log',
            'teamones-im',
            'teamones-work-hour',
            'teamones-olap-sr',
            ],
        'log' => runtime_path() . 'logs/workerman/etcd.log',
        'cache' => runtime_path() . 'cache'
    ]
];
